/*
 * @Description:
 * @Author: zhaokun
 * @Date: 2021-12-28 17:05:21
 * @LastEditTime: 2022-01-25 15:36:46
 * @FilePath: \user\api\internal\config\config.go
 */
package config

import (
	"github.com/tal-tech/go-zero/core/stores/cache"
	"github.com/tal-tech/go-zero/rest"
	"github.com/tal-tech/go-zero/zrpc"
)

type Config struct {
	rest.RestConf

	Mysql struct {
		DataSource string
	}

	CacheRedis cache.CacheConf

	RedisConfig struct {
		Addr     string
		Password string
		Db       int
	}

	Auth struct {
		AccessSecret string
		AccessExpire int64
	}

	UserRpc zrpc.RpcClientConf
}
